package com.qiu.demo.service.impl;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qiu.demo.entity.User;
import com.qiu.demo.mapper.UserMapper;
import com.qiu.demo.service.UserService;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    // 假设我们在数据库中有用户信息
    public boolean checkUserCredentials(String username, String password) {
        return "admin".equals(username) && "password123".equals(password);
    }
}